package com.itheima.health.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;

import java.util.List;
import java.util.Map;

public interface CheckGroupMapper {
    public void add(CheckGroup checkGroup);

    public void setCheckGroupAndCheckItem(Map map);

    public Page<CheckGroup> findByCondition(String queryString);


    public CheckGroup findById(Integer id);


    public  List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    public  void edit(CheckGroup checkGroup);

    void deleteAssoication(Integer id);

    List<CheckGroup> findAll();
}
